package com.xiaoyung.easyisapisdk.common.form;

import com.alibaba.fastjson2.JSONArray;
import com.alibaba.fastjson2.JSONObject;
import com.xiaoyung.easyisapisdk.common.util.PageData;

//@Data
public class BatchUpdateByGroupConditionsParam {
	
	//@NotEmpty(message="tableCode不能为空")
	private String tableCode;
	
	//@NotNull(message="formData不能为空")
	//private JSONObject formData;// 用PageData还是JSONObject?
	private PageData formData;//dataService用的是PageData,直接用PageData省得转换了
	
	//private String[] updateFields;
	
	private Boolean triggerWorkFLow = true; // 默认值true	
	
	//这两个因为 可以带别名 所以不用bean对象 
	private JSONArray groupWhereList ;
	private JSONObject whereParttern ;
	
	
	private String where; //好像没太大用处 只是方便写简单查询条件


	public String getTableCode() {
		return tableCode;
	}


	public void setTableCode(String tableCode) {
		this.tableCode = tableCode;
	}


	public PageData getFormData() {
		return formData;
	}


	public void setFormData(PageData formData) {
		this.formData = formData;
	}


	public Boolean getTriggerWorkFLow() {
		return triggerWorkFLow;
	}


	public void setTriggerWorkFLow(Boolean triggerWorkFLow) {
		this.triggerWorkFLow = triggerWorkFLow;
	}


	public JSONArray getGroupWhereList() {
		return groupWhereList;
	}


	public void setGroupWhereList(JSONArray groupWhereList) {
		this.groupWhereList = groupWhereList;
	}


	public JSONObject getWhereParttern() {
		return whereParttern;
	}


	public void setWhereParttern(JSONObject whereParttern) {
		this.whereParttern = whereParttern;
	}


	public String getWhere() {
		return where;
	}


	public void setWhere(String where) {
		this.where = where;
	}
	
	
}
